Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add comprehensive tests to test the kernel across available dtypes. #484

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pashu123
Copy link

Added softmax and gemm kernel to test across the available float and int dtypes.

@pashu123 pashu123 force-pushed the add_tests branch 3 times, most recently from 05d834c to f09dfab Compare February 27, 2024 10:32
import pytest


TKL_TO_TORCH_DTYPE = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add this to DataType as a method? a from_torch_type and to_torch_type would be good to have.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. PTAL.

Added softmax and gemm kernel to test across the available float and int dtypes.
@dan-garvey
Copy link
Member

is this stale?

@pashu123
Copy link
Author

pashu123 commented Apr 2, 2024

is this stale?

@Groverkss Is this required?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants